#ifndef XPM_DOC_MODEL_RDF_SLOT_H
#define XPM_DOC_MODEL_RDF_SLOT_H

#include <string>

using namespace std;

namespace xpm {
	enum ValueType {
			ANY,
			BOOLEAN,
			CLASS,
			FLOAT,
			INSTANCE,
			INTEGER,
			STRING,
			SYMBOL
		};
	class Slot {
	public:		
		Slot(string name);
		string name();
		void setValueType(ValueType type = STRING);
		ValueType valueType();
		void setAllowsmultipleValues(bool allowsmultipleVlues);
		bool allowsmultipleValues();
		int maxnum();
		int minnum();
		void setMaxnum(int maxnum);
		void setMinnum(int minnum);
	private:
		string _name;
		string _documentation;
		ValueType _valueType;
		bool _allowsmultipleValues;
		int _minnum;
		int _maxnum;
	};
};
#endif